<script setup>
import {ref} from "vue";

const jack = ref('tom')
const url = ref('https://www.360buy.com')
url.value='https://www.baidu.com'
</script>

<template>
  <h1>属性绑定指令</h1>
  <input value="rose" type="text">
  <input value="jack" type="text">
  <input v-bind:value="jack" type="text">
  <input :value="jack" type="text">
  第二个页面
  <hr>
  <a :href="url">超链接1</a>
  <a href="url">超链接2</a>
</template>

<style scoped>

</style>